﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetSpider.Runner
{
    class Program
    {
        static void Main(string[] args)
        {
            string googleHomePage = "http://www.google.co.uk/";

            IVisitScheduler visitScheduler = new VisitScheduler(new DocumentFetcherFactory(), new InMemoryVisitRepository());
            ISpider spider = new SimpleSpider(visitScheduler);

            spider.Goto(googleHomePage);
        }
    }
}
